package com.example.demo.dbo;

import java.util.Date;

/**
 * @Author ：fengzj
 * @Date ：Created in 2019/4/17 17:17
 * @Description: 数据封装
 */

public class CollectData {
    private Integer id;
    //数据类别
    private String cate;
    //采集点编号
    private String collectPointNo;
    //测点类型
    private String pointType;
    //完整id码
    private String code;
    //value值
    private String realValue;
    //时间
    private Date createdAt;
    //设备码
    private String deviceCode;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getCate() {
        return cate;
    }

    public void setCate(String cate) {
        this.cate = cate;
    }

    public String getCollectPointNo() {
        return collectPointNo;
    }

    public void setCollectPointNo(String collectPointNo) {
        this.collectPointNo = collectPointNo;
    }

    public String getPointType() {
        return pointType;
    }

    public void setPointType(String pointType) {
        this.pointType = pointType;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getRealValue() {
        return realValue;
    }

    public void setRealValue(String realValue) {
        this.realValue = realValue;
    }

    public Date getCreatedAt() {
        return createdAt;
    }

    public void setCreatedAt(Date createdAt) {
        this.createdAt = createdAt;
    }

    public String getDeviceCode() {
        return deviceCode;
    }

    public void setDeviceCode(String deviceCode) {
        this.deviceCode = deviceCode;
    }

    @Override
    public String toString() {
        return "CollectData{" +
                "id=" + id +
                ", cate='" + cate + '\'' +
                ", collectPointNo='" + collectPointNo + '\'' +
                ", pointType='" + pointType + '\'' +
                ", code='" + code + '\'' +
                ", realValue='" + realValue + '\'' +
                ", createdAt=" + createdAt +
                ", deviceCode='" + deviceCode + '\'' +
                '}';
    }
}
